/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ajz.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

/**
 * ajzRiViewGdEntity
 * @author whh
 * @version 2017-09-27
 */
public class AjzRiViewgd extends DataEntity<AjzRiViewgd> {
	
	private static final long serialVersionUID = 1L;
	private String enterpriseName;		// 单位名称
	private String chargePerson;		// 负责人姓名
	private String managerPerson;		// 经营者姓名
	private String post;		// 职务
	private String telephone;		// 电话
	private Date deadlineRectification;		// 整改截止时间
	private String recordId;		// 记录id
	private String tableName;		// 表名
	private String investigationPersonId;		// 排查人员
	private String addr;		// 地址
	private String storeInfo;		// 店信息
	private String gasProperty;		// 用气性质
	private String idCard;		// 身份证
	private String tableNumber;		// 表单号
	private String businessLicense;		// 工商执照
	private String backUpc;     //邮箱
	
	public AjzRiViewgd() {
		super();
	}

	public AjzRiViewgd(String id){
		super(id);
	}

	@Length(min=0, max=100, message="单位名称长度必须介于 0 和 100 之间")
	@ExcelField(title="单位名称", align=2, sort=10)
	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}
	
	@Length(min=0, max=64, message="负责人姓名长度必须介于 0 和 64 之间")
	@ExcelField(title="负责人姓名", align=2, sort=20)
	public String getChargePerson() {
		return chargePerson;
	}

	public void setChargePerson(String chargePerson) {
		this.chargePerson = chargePerson;
	}
	
	@Length(min=0, max=64, message="经营者姓名长度必须介于 0 和 64 之间")
	@ExcelField(title="管理人姓名", align=2, sort=30)
	public String getManagerPerson() {
		return managerPerson;
	}

	public void setManagerPerson(String managerPerson) {
		this.managerPerson = managerPerson;
	}
	
	@Length(min=0, max=200, message="职务长度必须介于 0 和 200 之间")
	@ExcelField(title="职务", align=2, sort=40)
	public String getPost() {
		return post;
	}

	public void setPost(String post) {
		this.post = post;
	}
	
	@Length(min=0, max=20, message="电话长度必须介于 0 和 20 之间")
	@ExcelField(title="电话", align=2, sort=50)
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	@Length(min=0, max=100, message="单位名称长度必须介于 0 和 255 之间")
	@ExcelField(title="邮箱", align=2, sort=55)
	public String getBackUpc() {
		return backUpc;
	}

	public void setBackUpc(String backUpc) {
		this.backUpc = backUpc;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDeadlineRectification() {
		return deadlineRectification;
	}

	public void setDeadlineRectification(Date deadlineRectification) {
		this.deadlineRectification = deadlineRectification;
	}
	
	@Length(min=0, max=64, message="记录id长度必须介于 0 和 64 之间")
	public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}
	
	@Length(min=0, max=2000, message="表名长度必须介于 0 和 2000 之间")
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	@Length(min=0, max=64, message="排查人员长度必须介于 0 和 64 之间")
	public String getInvestigationPersonId() {
		return investigationPersonId;
	}

	public void setInvestigationPersonId(String investigationPersonId) {
		this.investigationPersonId = investigationPersonId;
	}
	
	@Length(min=0, max=64, message="地址长度必须介于 0 和 64 之间")
	@ExcelField(title="地址", align=2, sort=60)
	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}
	
	@Length(min=0, max=255, message="店信息长度必须介于 0 和 255 之间")
	@ExcelField(title="单位信息", align=2, sort=70)
	public String getStoreInfo() {
		return storeInfo;
	}

	public void setStoreInfo(String storeInfo) {
		this.storeInfo = storeInfo;
	}
	
	@Length(min=0, max=1, message="用气性质长度必须介于 0 和 1 之间")
	@ExcelField(title="用气性质", align=2, sort=80)
	public String getGasProperty() {
		return gasProperty;
	}

	public void setGasProperty(String gasProperty) {
		this.gasProperty = gasProperty;
	}
	
	@Length(min=0, max=20, message="身份证长度必须介于 0 和 20 之间")
	@ExcelField(title="身份证号", align=2, sort=90)
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	@Length(min=0, max=32, message="表单号长度必须介于 0 和 32 之间")
	public String getTableNumber() {
		return tableNumber;
	}

	public void setTableNumber(String tableNumber) {
		this.tableNumber = tableNumber;
	}
	
	@Length(min=0, max=32, message="工商执照长度必须介于 0 和 32 之间")
	@ExcelField(title="营业执照", align=2, sort=100)
	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}
	
}